<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学员详细信息</title>
</head>
<body>
<table border="1" cellspacing="0" cellpadding="10" align="center" width="300px">

    <caption><h2>${student.sname}的详细信息如下</h2></caption>
    <tr>
        <td align="center">姓名</td>
        <td>${student.sname}</td>
    </tr>
    <tr>
        <td align="center">年龄</td>
        <td>${student.age}</td>
    </tr>
    <tr>
        <td align="center">性别</td>
        <td>${student.sex}</td>
    </tr>
    <tr>
        <td align="center">头像</td>
        <td>
            <img src="http://localhost:8080/pic/${student.pic}"  width="50px" height="50px">
        </td>
    </tr>
    <tr>
        <td align="center">学历</td>
        <td>${student.degree}</td>
    </tr>
    <tr>
        <td align="center">邮箱</td>
        <td>${student.email}</td>
    </tr>
    <tr>
        <td align="center">备注</td>
        <td>${student.mark}</td>
    </tr>
    <tr>
        <td colspan="2"align="center">

            <button onclick="history.back()">返回</button>
        </td>
    </tr>

</table>

</body>
</html>
